package com.teach.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 
 * @TableName tb_seckill_orders
 */
@TableName(value ="tb_seckill_orders")
@Data
public class TbSeckillOrders implements Serializable {
    /**
     * 订单号
     */
    private Long id;

    /**
     * 课程名
     */
    private String courseName;

    /**
     * 价格
     */
    private BigDecimal coursePrice;

    /**
     * 图片
     */
    private String coursePicture;

    /**
     * 课程简介
     */
    private String courseSynopsis;

    /**
     * 数量
     */
    private Integer num;

    /**
     * 用户id
     */
    private Integer uid;

    /**
     * 订单生成时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 支付状态
     */
    private Integer payStatus;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}